package com.qing.demo.netty.service;

import com.qing.demo.netty.domain.User;
import org.springframework.data.domain.Page;

/**
 * @author caozhipeng
 * @date 2025/8/2
 */
public interface UserService {

    void save(User user);

    void deleteById(String id);

    User findById(String id);

    Iterable<User> queryAll();

    Page<User> findByName(String name, int page, int size);

}
